package com.suning.sawp.in.controller;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.suning.sawp.constants.LoggerConstants;
import com.suning.sawp.intf.model.ModelManageService;

/**
 * 
 * 〈一句话功能简述〉<br>
 * 〈功能详细描述〉
 *
 * @author 17033093
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
@RequestMapping("/adminPage/model/secretOpera")
@Controller
public class SecretOperationController extends DjBaseController {
    
    private static final Logger LOGGER = LoggerFactory.getLogger(LoggerConstants.SAWP_SERVICE);
    
    @Resource
    ModelManageService modelManageService;
    
    /**
     * 
     * 功能描述: 清空商品簇表信息<br>
     * 〈功能详细描述〉
     *
     * @return
     * @see [相关类/方法](可选)
     * @since [产品/模块版本](可选)
     */
    @RequestMapping("/clearCluster.do")
    public void clearCluster(){
        LOGGER.info("clearCluster. start");
        modelManageService.clearCluster();
        LOGGER.info("clearCluster. end");
    }
}
